FALSE,
GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
+ /**
+ * GtkExpander:spacing:
+ *
+ * Space to put between the label and the child when the
+ * expander is expanded.
+ *
+ * Deprecated: 3.20: This property is deprecated and ignored.
+ * Use margins on the child instead.
+ */
g_object_class_install_property (gobject_class,
PROP_SPACING,
g_param_spec_int ("spacing",
0,
G_MAXINT,
0,
- GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED));
g_object_class_install_property (gobject_class,
PROP_LABEL_WIDGET,
GtkAllocation child_allocation;
child_allocation.x = allocation->x;
- child_allocation.y = allocation->y + title_allocation.height + priv->spacing;
+ child_allocation.y = allocation->y + title_allocation.height;
child_allocation.width = allocation->width;
- child_allocation.height = allocation->height - title_allocation.height - priv->spacing;
+ child_allocation.height = allocation->height - title_allocation.height;
gtk_widget_size_allocate (child, &child_allocation);
}
* pixels to place between expander and the child.
*
* Since: 2.4
+ *
+ * Deprecated: 3.20: Use margins on the child instead.
*/
void
gtk_expander_set_spacing (GtkExpander *expander,
* Returns: spacing between the expander and child
*
* Since: 2.4
+ *
+ * Deprecated: 3.20: Use margins on the child instead.
*/
gint
gtk_expander_get_spacing (GtkExpander *expander)